Subscribe<T> Method

Summary
Allow components to register to a typed events published by other components.
Syntax
C#
VB
C++
public void Subscribe<T>( 
   EventHandler<T> onEventExecuted 
) 
  
Public Sub Subscribe(Of T As EventArgs)( _ 
   ByVal onEventExecuted As EventHandler(Of T) _ 
)  
public: 
void Subscribegeneric<typename T> 
(  
   EventHandler<T^>^ onEventExecuted 
)  
where T: EventArgs 

Parameters

onEventExecuted
A callback which will be called when the typed event is being published.

Type Parameters

T
The type of the event the component is interested in subscribing into.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Workstation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.